<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.hilaver.dzmis.Constants"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	List<String> uriList = (List<String>)request.getSession().getAttribute(Constants.SESSION_ACTION_NAME_LIST);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0"><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
        <title>Welcome to Design Zone......</title>
        <link rel="stylesheet" type="text/css" href="<%=basePath%>scripts/ext/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="<%=basePath%>styles/dzbase.css" />
        <script type="text/javascript" src="<%=basePath%>scripts/ext/adapter/ext-base.js">
        </script>
        <script type="text/javascript" src="<%=basePath%>scripts/ext/ext-all.js">
        </script>
        <script type="text/javascript" src="<%=basePath%>scripts/i18nMessage.js">
        </script>
        <script type="text/javascript" src="<%=basePath%>scripts/utils.js">
        </script>
        <script type="text/javascript">
        	var npMessage = new i18nMessage('<%=basePath%>servlet/I18nMessageServlet?keyPrefix=ui.nopermission');	
        </script>
        <style type="text/css">
            DIV.wp_syntax PRE {
                BORDER-RIGHT: #ccc 1px dashed;
                PADDING-RIGHT: 8px;
                BORDER-TOP: #ccc 1px dashed;
                PADDING-LEFT: 8px;
                FONT-SIZE: 12px;
                PADDING-BOTTOM: 5px;
                MARGIN: 0px 10px 10px;
                BORDER-LEFT: #ccc 1px dashed;
                COLOR: #222;
                LINE-HEIGHT: 14px;
                PADDING-TOP: 5px;
                BORDER-BOTTOM: #ccc 1px dashed;
                BACKGROUND-COLOR: #f9f9f9;
				text-align:left;
				height: 240px;
            }
			.task {
				margin-top: 10px;
				float:right;
			}
			
			 h3 {
				color:#385F95;
				font-family:verdana,arial,sans-serif;
				font-size:18px;
				font-weight:normal;
				letter-spacing:-1px;
				margin:7px 0;
				padding-top: 10px;
			}
        </style>
    </head>
    <body>
        <div class="wp_syntax">
            <div>
                <pre><div style="float: left;"><h3><script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.title'));</script></h3><p class="information"><img src="<%=basePath%>images/circle.gif"/>&nbsp;&nbsp;<script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.solution1'));</script><br/><img src="<%=basePath%>images/circle.gif"/>&nbsp;&nbsp;<script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.solution2'));</script><br/><img src="<%=basePath%>images/circle.gif"/>&nbsp;&nbsp;<script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.solution3'));</script><br/><img src="<%=basePath%>images/circle.gif"/>&nbsp;&nbsp;<script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.solution4'));</script></p></div><img class="task" src="<%=basePath%>images/simple-tasks.png"/>
    			</pre>
            </div>
        </div>
        <div class="wp_syntax">
        	<div>
        		<pre><div style="float: left;"><h3><script type="text/javascript">document.write(npMessage.getValueFromTagName('ui.nopermission.actitle'));</script></h3><p class="information"><%for(String uri : uriList){ %><img src="<%=basePath%>images/circle.gif"/>&nbsp;&nbsp;<%=uri %><br/><%} %></p></div>
        		</pre>
        	</div>
        </div>
    </body>
</html>
